<script setup>
import {useRoute} from 'vue-router'
import {inject, ref} from 'vue'

const route=useRoute()
const path_list=inject('path_list')
path_list.value=route.matched
</script>
<template>
<div class="content">
    <router-link to="/admin/rate">
        <div class="item">
            <img src="/打分.png" class="icon"/>
            <span>评分系统</span>
        </div>
    </router-link>
</div>
<div class="content">
    <router-link to="/admin/meta_rate">
        <div class="item">
            <img src="/评价细则.png" class="icon"/>
            <span>评价细则</span>
        </div>
    </router-link>
    <router-link to="/admin/meta_organization">
        <div class="item">
            <img src="/组织信息.png" class="icon"/>
            <span>组织信息</span>
        </div>
    </router-link>
</div>
</template>
<style lang="scss" scoped>
.content{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    width:100%;
    padding:10px;
    .item{
        display:flex;
        flex-direction:column;
        align-items:center;
        width:60px;
        margin:0 20px;
        img{
            object-fit:scale-down;
            padding:10px;
            margin-bottom:5px;
            width:60px;
            height:60px;
            background-color:#dbdbdb;
            box-shadow: 3px 3px 3px 1px #918f8f;
            border-radius:6px;
        }
        span{
            color:black;
        }
    }
}
</style>